package com.cloud.alarm.demo.dao;

import com.cloud.alarm.dinger.core.annatations.Parameter;
import com.cloud.alarm.dinger.core.entity.DingerResponse;

/**
 * @author: zhou shuai
 * @date: 2024/7/15 21:09
 * @version: v1
 */
// 为UserDinger配置多机器人功能
/*@MultiHandler(
        @MultiDinger(dinger = DingerType.BYTETALK, handler = UserDingerConfigHandler.class)
)*/
public interface UserDinger {

    DingerResponse success(@Parameter("userName") String userName);

    DingerResponse failed(@Parameter("userId") long userId, @Parameter("userName") String userName);

    DingerResponse login(@Parameter("loginName") String userName);

    DingerResponse logout(@Parameter("uId") long userId, @Parameter("loginName") String userName);

}
